import React from 'react';
import {Card,Table} from 'antd';
import './ui.less';

export default class Tables extends React.Component{
  state={
    dataSource:[]
  }

  render(){
    const columns=[
      {
        title:'id',
        dataIndex:'id'
      },
      {
        title:'用户名',
        dataIndex:'username'
      },
      {
        title:'性别',
        dataIndex:'sex'
      },
      {
        title:'状态',
        dataIndex:'state'
      },
      {
        title:'爱好',
        dataIndex:'interest'
      },
      {
        title:'生日',
        dataIndex:'birthday'
      },
      {
        title:'地址',
        dataIndex:'address'
      },
      {
        title:'早起时间',
        dataIndex:'time'
      },
    ]
    return (
      <div>
        <Card title="高级表格" className="card_wrapper">
        </Card>
      </div>
    )
  }
}